-- GENERATED SPELL FOR [Elder Shadowhorn Stag] --


function spell0_3818(pUnit, Event) --@Shadowhorn Charge,Self--
pUnit:FullCastSpellOnTarget(6921,pUnit)
pUnit:RegisterEvent('Sorts_3818', 6345, 1)
end

function Sorts_3818(pUnit, Event)
local choix_sorts_3818 = math.random(0, 0)
if choix_sorts_3818 == 0 then
pUnit:RegisterEvent('spell0_3818', 1, 1)
end
end

function mob3818_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3818', math.random(1500, 3000), 1)
end

function mob3818_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3818_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3818_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3818, 1, 'mob3818_Action')
RegisterUnitEvent(3818, 2, 'mob3818_Leave')
RegisterUnitEvent(3818, 3, 'mob3818_Kill')
RegisterUnitEvent(3818, 4, 'mob3818_Die')
